<script setup lang="ts">
import { onMounted, ref } from 'vue';

const loading = ref(true)
// const loadingService =  Loading.service()
setTimeout(() => {
  // loadingService.close()
  loading.value = false
}, 3000)
</script>

<template>
  <div class="loading-test" v-itLoading="loading"></div>
</template>
<style lang="less" scoped>
.loading-test {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
</style>